import os
import time


print "Test file start! \n"
modifytime = time.ctime(os.stat("S:/China_Product_SW_Update_Schedule_SD.xlsx").st_mtime)
createtime = time.ctime(os.stat("S:/China_Product_SW_Update_Schedule_SD.xlsx").st_ctime)
print modifytime
print createtime



while 1 == 1:
    newtime = time.ctime(os.stat("S:/China_Product_SW_Update_Schedule_SD.xlsx").st_mtime)
    print "\n\n\nStart check"
    if modifytime != newtime:
        print "file is modifed."
        modifytime = newtime
    time.sleep(10)

    
